package com.android.yummycookies.model.cookie;

import com.android.yummycookies.types.Direction;

import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Rect;

public class CookieSprite{

	private Bitmap bitmap;

	public CookieSprite(Bitmap bitmap) {
		this.bitmap = bitmap;
	}
	
	
	public void draw(Canvas canvas, int x, int y, Rect drawingArea, Direction direction) {
		// TODO afficher en fonction du debordement
		canvas.drawBitmap(bitmap, x, y, null);
	}

	public Bitmap getBitmap() {
		return bitmap;
	}
	
}
